package com.wll.store.user.service.impl;

/*import com.wll.store.product.entity.Product;
import com.wll.store.product.mapper.ProductMapper;
import com.wll.store.product.service.ProductService;*/
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.wll.store.user.entity.Product;
import com.wll.store.user.mapper.ProductMapper;
import com.wll.store.user.service.ProductService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author sdx2009
 * @since 2022-09-07
 */
@Service
public class ProductServiceImpl extends ServiceImpl<ProductMapper, Product> implements ProductService {

    @Autowired
    private ProductMapper productMapper;


    @Override
    public List<Product> getProductInfoByName(String productName) {

        return productMapper.getProductInfoByName(productName);
    }
}
